﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Framework.IModel
{
    /// <summary>
    /// 岗位(组织机构与职位的组合)
    /// </summary>
    public interface IPost : IItem
    {
        /// <summary>
        /// 所属部门
        /// </summary>
        IOrganization Organization { get; set; }
        /// <summary>
        /// 负责的职位
        /// </summary>
        IPosition Position { get; set; }
        /// <summary>
        /// 上级岗位
        /// </summary>
        IPost Leader { get; set; }
        /// <summary>
        /// 分管工作
        /// </summary>
        IPostResponsibility PostResponsibility { get; set; }
        /// <summary>
        /// 员工岗位
        /// </summary>
        IList<IEmployeePost> EmployeePosts { get; set; }
    }
}
